Database version policies

This page describes Cloud SQL's database version support policies.

Database versions supported by Cloud SQL

The database engines supported by Cloud SQL include multiple versions. The versions can vary in capabilities and in the types of issues that arise. While performing an upgrade can impact your users, providing up-to-date database features and important patches is also critical. Cloud SQL keeps your instances up-to-date with patches and minor version updates automatically.

Major and minor versions supported by Cloud SQL

Cloud SQL supports the following database versions:

Major version Minor version Regular support start date Extended support start date Deprecation date
MySQL 8.0 (default)8.0.36
8.0.35
8.0.34
8.0.33
8.0.32
8.0.31 (default)
8.0.30
8.0.29 (deprecated)
8.0.28
8.0.27
8.0.26
8.0.18
August 30, 2020 July 1, 2026 July 1, 2029
MySQL 5.7 5.7.44 August 1, 2016 February 1, 2025 February 1, 2028
MySQL 5.6 5.6.51 August 1, 2016 February 1, 2025 February 1, 2028
Major versionMinor version Regular support start date Extended support start date Deprecation date
PostgreSQL 15 (default)15.5 May 24, 2023February 1, 2028February 1, 2031
PostgreSQL 14 14.10 November 11, 2021February 1, 2027February 1, 2030
PostgreSQL 1313.13 November 5, 2020February 1, 2026February 1, 2029
PostgreSQL 1212.17 May 21, 2020February 1, 2025February 1, 2028
PostgreSQL 1111.22 September 27, 2019February 1, 2025February 1, 2028
PostgreSQL 1010.23 March 27, 2020February 1, 2025February 1, 2028
PostgreSQL 9.69.6.24 April 1, 2018February 1, 2025February 1, 2028
Major versionMinor versionSupport start date
SQL Server 2022 StandardCU11June 26, 2023
SQL Server 2022 EnterpriseCU11June 26, 2023
SQL Server 2022 ExpressCU11June 26, 2023
SQL Server 2022 WebCU11June 26, 2023
SQL Server 2019 Standard (default)CU24June 24, 2021
SQL Server 2019 EnterpriseCU24June 24, 2021
SQL Server 2019 ExpressCU24June 24, 2021
SQL Server 2019 WebCU24June 24, 2021
SQL Server 2017 StandardCU31February 19, 2020
SQL Server 2017 EnterpriseCU31February 19, 2020
SQL Server 2017 ExpressCU31February 19, 2020
SQL Server 2017 WebCU31February 19, 2020

Cloud SQL database version format

For MySQL, the first two numbers in the version number form the major version, and the last number is the minor version. For example, for version 5.7.13, Cloud SQL uses 5.7 as the major version, and 13 as the minor version.

For PostgreSQL 9.6, the first two numbers in the version number form the major version, and the last number is the minor version. For example, for version 9.6.1, Cloud SQL uses 9.6 as the major version, and 1 as the minor version. For PostgreSQL 10 and later, the first number is the major version. For example, for version 10.1, 10 is the major version, and 1 is the minor version.

For SQL Server, the year provides the major version number and the minor version is the supported Cumulative Update (CU). For example, for SQL Server 2022 Enterprise CU11, 2022 Enterprise is the major version number and CU11 is the minor version number.

Major version lifecycle

This section describes the support lifecycle for major versions in Cloud SQL.

Regular support

Cloud SQL aims to support new major versions on the same day as their general availability release by the database engine developer community. The first phase of the support is called regular support. During regular support, Cloud SQL provides minor version updates for the database engine. Cloud SQL also applies security fixes to the instances. Cloud SQL offers regular support for a major version as long as the database engine developer community supports the major version. After the major version reaches end-of-life (EOL) by the community, the major version enters extended support in Cloud SQL.

Extended support

For Cloud SQL for MySQL and Cloud SQL for PostgreSQL major versions that have reached their EOL, Cloud SQL offers extended support. Extended support lets you continue running your Cloud SQL instances for three years even after the developer community stops supporting the major versions on which the instances are running. Extended support is offered for three years. You can use this time to plan, test, and perform the upgrade of your instances to a major version that is in regular support. For more information about performing a major version upgrade, see Upgrade the database major version in-place and Upgrade the database major version by migrating data.

For more information about extended support, see Extended support in Cloud SQL.

Deprecation

After extended support has ended for a specific major version, Cloud SQL deprecates the major version. An instance running on a deprecated major version is upgraded to the default major and minor version for the database engine automatically. Cloud SQL sends a deprecation notice to project owners at least 12 months before the deprecation date.

For Cloud SQL for MySQL and Cloud SQL for PostgreSQL major versions, project owners receive a deprecation notice at the end of the second year of extended support.

Minor version support

Cloud SQL aims to support new minor versions on the same day as their general availability release by the database engine developer community. After Cloud SQL supports a new minor version, Cloud SQL provisions new instances on the new version automatically. During the next scheduled maintenance rollout, Cloud SQL upgrades existing instances to the new version. An exception to this policy is Cloud SQL for MySQL 8.0, which provisions new instances on the default minor version. For more information, see MySQL 8.0.

Cloud SQL determines the target minor version for each database engine. When the target minor version is different from the minor version for a Cloud SQL instance, Cloud SQL upgrades that version during the next maintenance cycle. You can control the day and time when maintenance restarts occur by setting a maintenance window for your instance.

MySQL 8.0

Cloud SQL for MySQL provisions instances on a default minor version, which might not be the latest minor version.

After Cloud SQL for MySQL supports a new minor version, users can upgrade existing Cloud SQL for MySQL instances to the new minor version. After the minor version becomes the default version, then Cloud SQL provisions new instances on the new minor version automatically.